package sj6.dao.impl;

import org.springframework.stereotype.Component;
import sj6.dao.UserDao;
import sj6.entity.User;
@Component("UserDaoOracle")
public class UserDaoOracleImpl implements UserDao {
    @Override
    public int insert(User user) {
        //这里并未实现完整的数据库操作，仅为说明问题
        System.out.println("正在将用户"+user.getUserName()+"添加到Oracle数据库。。。。");
        return 1;
    }
}
